
const ShareMpWechatMixin = {
	// #ifdef MP
	data() {
		return {
			shareData: {
				share_brief: '',
				share_image: '',
				share_path: '',
				share_title: '',
				share_url: '',
				share_query: ''
			},
		}
	},
	onShareAppMessage() {
		return {
			title: this.shareData.share_title,
			path: this.shareData.share_path,
			imageUrl: this.shareData.share_image
		}
	},
	onShareTimeline() {
		return {
			title: this.shareData.share_title,
			query: this.shareData.share_query,
			imageUrl: this.shareData.share_image
		}
	}
	// #endif

}

export default ShareMpWechatMixin;
